<template>
  <div>
    <h1>详情页</h1>
    <div>参数是：{{ route.params.id }}</div>
  </div>
</template>
<script setup>
import { useRoute } from 'vue-router'

const route = useRoute()

</script>
